package com.example.demo.domain;

import java.math.BigDecimal;

public class SysPayMchChannel {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 商户id
     */
    private Long mchId;

    /**
     * 通道id
     */
    private Long channelId;

    /**
     * 商户费率
     */
    private BigDecimal mchRate;

    /**
     * 通道轮询权重，范围1-9，默认为1
     */
    private Byte weight;

    /**
     * 状态。0：关闭，1：开启
     */
    private String status;

    /**
     * 代理费率
     */
    private BigDecimal agentRate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMchId() {
        return mchId;
    }

    public void setMchId(Long mchId) {
        this.mchId = mchId;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public BigDecimal getMchRate() {
        return mchRate;
    }

    public void setMchRate(BigDecimal mchRate) {
        this.mchRate = mchRate;
    }

    public Byte getWeight() {
        return weight;
    }

    public void setWeight(Byte weight) {
        this.weight = weight;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public BigDecimal getAgentRate() {
        return agentRate;
    }

    public void setAgentRate(BigDecimal agentRate) {
        this.agentRate = agentRate;
    }
}